import request from '@/utils/request'

/**
 * 获取列表
 */
export function getTeachTypeList(data) {
  return request({
    url: '/teachType/GetTeachTypeList',
    method: 'post',
    data
  })
}

export function addModel(data) {
  return request({
    url: '/teachType/AddModel',
    method: 'post',
    data
  })
}

export function updateModel(data) {
  return request({
    url: `/teachType/UpdateModel`,
    method: 'post',
    data
  })
}

export function deleteModel(id) {
  return request({
    url: `/teachType/DeleteModel?id=` + id,
    method: 'post'
  })
}

